package com.hl.sfzy.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

/**
 * t_sys_reply
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class SysReply implements Serializable {
    /**
     * 回复id
     */
    private Integer id;

    /**
     * 回复内容
     */
    private String replyContent;

    /**
     * 回复时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone ="GMT+8" )
    private Date replyTime;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 问题id
     */
    private Integer questionId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 是否删除：0正常1删除
     */
    private String del;

    private static final long serialVersionUID = 1L;
}